﻿namespace AbpVnext_Module.Middleware
{
    public static class CustomMiddleware
    {
        public static IApplicationBuilder UseAuthencation(this IApplicationBuilder app)
        {
            app.UseMiddleware<AuthencationMiddleware>();
            return app;
        }

        public static IApplicationBuilder UseAuthenzetion(this IApplicationBuilder app)
        {
            app.UseMiddleware<AuthenzetionMiddleware>();
            return app;
        }
    }
}
